#include "List.h"
#include <iostream>


int main() {
	
	LTNode* plist = LTInit();
	LTPushback(plist, 1);
	LTPushback(plist, 2);
	LTPushback(plist, 3);
	LTPushback(plist, 4);
	LTprint(plist);


	LTPopback(plist);
	LTprint(plist);

	LTpushfront(plist, 2);
	LTpushfront(plist, 3);
	LTpushfront(plist, 4);
	LTpushfront(plist, 5);
	LTprint(plist);


	LTpopfront(plist);
	LTprint(plist);

	return 0;
}